﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="Profile.aspx.cs" Inherits="KBVault.Web.Application.Profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContent" runat="server">
    <div class="panel panel-primary">
        <div class="panel-heading">
            Profile Settings
        </div>
        <div class="panel-body">
        <div class="col-lg-12">
            <div class="row">
            
                <div class="form-group">
                    <label for="OldPassword"> Old Password </label>
                    <asp:TextBox runat="server" ID="txtOldPassword" ClientIDMode="Static" CssClass="form-control" TextMode="Password"
                            placeholder="Enter current password"></asp:TextBox>
                    <label for="txtNewPassword"> New Password </label>
                    <asp:TextBox runat="server" ID="txtNewPassword" ClientIDMode="Static" CssClass="form-control" TextMode="Password"
                            placeholder="Enter new password"></asp:TextBox>                            
                    <label for="txtNewPasswordControl"> New Password Again</label>
                    <asp:TextBox runat="server" ID="txtNewPasswordControl" ClientIDMode="Static" CssClass="form-control" TextMode="Password"
                            placeholder="Enter new password again"></asp:TextBox>
                            <asp:CompareValidator runat="server" ID="vldPasswordMatch" Display="Dynamic" ErrorMessage="New Passwords Must Match." ControlToValidate="txtNewPasswordControl" ControlToCompare="txtNewPassword"></asp:CompareValidator>
                </div>
            </div>
            <div class="row">
                <asp:Button runat="server" ID="btnSave" CssClass="btn btn-primary" Text="Save" 
                    onclick="btnSave_Click"/>
            </div>
            </div>
        </div>
    </div>
</asp:Content>
